Conversation
Contributor
Author
|
I think this is ready for prime-time. Requesting reviews. |
An attempt to make this a little more clear.
aaronshekey
approved these changes
Sep 7, 2018
Contributor
aaronshekey
left a comment
There was a problem hiding this comment.
I committed some changes I wanted to see instead of having a ton of back and forth. If I've missed the mark, feel free to revert 😎
dancormier
added a commit
that referenced
this pull request
Apr 15, 2026
The code-blocks page contains syntax-highlighted HTML <pre><code> blocks
with raw { and } characters (CSS rules, JSON, Java/C# class bodies, etc.)
that Svelte treats as template expression syntax, causing a 500 error.
Replaced all { and } in text nodes inside <pre> blocks with { and
} HTML entities — they render identically in the browser but are
not interpreted as Svelte expressions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
dancormier
added a commit
that referenced
this pull request
Apr 15, 2026
408 → 328 lines. All content preserved. - ClassTable for the three classes (.s-code-block, .linenums, .linenums:<n>) - Markdown headings replace the legacy HTML heading+anchor pattern - All 13 language example sections use markdown fenced code blocks — the mdsvex highlighter applies hljs + s-code-block classes, matching the legacy output without needing pre-rendered HTML or brace escaping - Each rendered example wrapped in an Example container - Line numbers section keeps pre-rendered HTML (Default + Offset) since line number columns require baked-in HTML elements not producible by markdown code fences; braces remain escaped as {/} Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is not ready for prime time yet, just creating a pull request to get the Netlify preview link.